<!-- playground-fold -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Form Label Span Sample</title>
    <link rel="stylesheet" href="./main.css">
</head>

<body style="background-color: var(--sapBackgroundColor)">
    <!-- playground-fold-end -->

    <ui5-label show-colon>Page Size</ui5-label><ui5-text id="txtLayout">L</ui5-text>
    <ui5-slider id="slider" value="85"></ui5-slider>

    <div id="container" style="max-width: 1500px; width: 1250px; overflow-x: auto">

		<ui5-form  header-text="Empty Span: S1 M1 L1 XL1" label-span="S4 M4 L4 XL4" empty-span="S1 M1 L1 XL1">
			<ui5-form-item>
				<ui5-label for="nameInp" slot="labelContent">Name:</ui5-label>
				<ui5-input value="Red Point Stores" id="nameInp"></ui5-input>
			</ui5-form-item>
			
			<ui5-form-item>
				<ui5-label id="countryLbl" for="countrySel" slot="labelContent">Country:</ui5-label>
				<ui5-select id="countrySel" accessible-name-ref="countryLbl">
					<ui5-option>Australia</ui5-option>
					<ui5-option selected>Germany</ui5-option>
					<ui5-option>England</ui5-option>
				</ui5-select>
			</ui5-form-item>

			<ui5-form-item>
				<ui5-label id="cityLbl" for="cityInp" slot="labelContent">ZIP Code/City:</ui5-label>
				<ui5-input id="cityInp" value="411" accessible-name-ref="cityLbl"></ui5-input>
				<ui5-input value="Maintown" accessible-name-ref="cityLbl"></ui5-input>
			</ui5-form-item>

			<ui5-form-item>
				<ui5-label for="wsInp" slot="labelContent">WebSite:</ui5-label>
				<ui5-input value="sap.com" id="wsInp"></ui5-input>
			</ui5-form-item>

			<ui5-form-item>
				<ui5-label id="streetLbl" for="streetInp" slot="labelContent">Street:</ui5-label>
				<ui5-input id="streetInp" value="Main St" accessible-name-ref="streetLbl"></ui5-input>
				<ui5-input id="streetNumberInp" value="1618" accessible-name-ref="streetLbl"></ui5-input>
			</ui5-form-item>

			<ui5-form-item>
				<ui5-label for="delInp" slot="labelContent">Delivery address:</ui5-label>
				<ui5-input value="Newtown" id="delInp"></ui5-input>
			</ui5-form-item>
		</ui5-form>

		<br><br>

		<ui5-form  header-text="Empty Span: S3 M3 L3 XL3" label-span="S4 M4 L4 XL4"  empty-span="S3 M3 L3 XL3">
			<ui5-form-item>
				<ui5-label for="nameInp" slot="labelContent">Name:</ui5-label>
				<ui5-input value="Red Point Stores" id="nameInp"></ui5-input>
			</ui5-form-item>
			
			<ui5-form-item>
				<ui5-label id="countryLbl" for="countrySel" slot="labelContent">Country:</ui5-label>
				<ui5-select id="countrySel" accessible-name-ref="countryLbl">
					<ui5-option>Australia</ui5-option>
					<ui5-option selected>Germany</ui5-option>
					<ui5-option>England</ui5-option>
				</ui5-select>
			</ui5-form-item>

			<ui5-form-item>
				<ui5-label id="cityLbl" for="cityInp" slot="labelContent">ZIP Code/City:</ui5-label>
				<ui5-input id="cityInp" value="411" accessible-name-ref="cityLbl"></ui5-input>
				<ui5-input value="Maintown" accessible-name-ref="cityLbl"></ui5-input>
			</ui5-form-item>

			<ui5-form-item>
				<ui5-label for="wsInp" slot="labelContent">WebSite:</ui5-label>
				<ui5-input value="sap.com" id="wsInp"></ui5-input>
			</ui5-form-item>

			<ui5-form-item>
				<ui5-label id="streetLbl" for="streetInp" slot="labelContent">Street:</ui5-label>
				<ui5-input id="streetInp" value="Main St" accessible-name-ref="streetLbl"></ui5-input>
				<ui5-input id="streetNumberInp" value="1618" accessible-name-ref="streetLbl"></ui5-input>
			</ui5-form-item>

			<ui5-form-item>
				<ui5-label for="delInp" slot="labelContent">Delivery address:</ui5-label>
				<ui5-input value="Newtown" id="delInp"></ui5-input>
			</ui5-form-item>
		</ui5-form>
	</div>

    <!-- playground-fold -->
    <script type="module" src="main.js"></script>
</body>

</html>
<!-- playground-fold-end -->
